package com.kkb.projectauth.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kkb.projectauth.pojo.UserLoginRegister;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @author 初心
 * @date 2021/4/14 17:31
 */
@Mapper
public interface UserLoginRegisterDao extends BaseMapper<UserLoginRegister> {

    @Select("SELECT * FROM  user_login_register WHERE username=#{username}")
    UserLoginRegister findByUsername(String username);

}
